package test;

public class Smartphone extends Telephone{

	
	private int capacite;
	private String SE;
	private boolean connexion3G;
	public CartePrepayer CP;
	
	public Smartphone(String modele, int capacite, String SE){
		super(modele);
		this.capacite = capacite;
		this.SE = SE;
		this.connexion3G = true;
	}

	public int getCapacite() {
		return capacite;
	}

	public void setCapacite(int capacite) {
		this.capacite = capacite;
	}

	public String getSE() {
		return SE;
	}

	public void setSE(String sE) {
		SE = sE;
	}
	
	public boolean Connexion_internet(){
		if(connexion3G) return true;
		else return false;
	}
	
	
	
}
